/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simplepushserver.gui;

import javax.swing.JOptionPane;

/**
 *
 * @author Filip
 */
public
class NoneModalPopup extends Thread{
    private String text;
    private String title;
    private boolean isVisible = false;

    public NoneModalPopup(String text, String title) {
        this.text = text;
        this.title = title;
    }
    public void run() {
        isVisible=true;
        JOptionPane.showMessageDialog(null, text, title, JOptionPane.PLAIN_MESSAGE);
        isVisible=false;
    }
}
